package Fuzzy;

import Matrix.*;

public class FuzzyCMeansClust {
	
	private double[][] input;
	private int clust_num;
	
	private double[][] u;
	private double[][] v;
	
	public FuzzyCMeansClust(double[][] input, int clust_num ){
		this.input = input;
		this.clust_num = clust_num;
	}
	
	public void init(){
		int data_line = input.length;
		int input_num = input[0].length;
		
		u = AIValue.u(clust_num, data_line);
		v = AIValue.v(input, u, clust_num, input_num, data_line);
	}
	
	public double[][] get_u(){
		return u;
	}
	
	public double[][] get_v(){
		return v;
	}

}
